package com.akilesa.dictcreator;

/**
 * Created by IntelliJ IDEA.
 * User: akilesa
 * Date: 26.01.2010
 * Time: 15:11:58
 * To change this template use File | Settings | File Templates.
 */
public class OnlineDictionary {

    OnlineDictionarySupport support=new LingvoOnlineDictionarySupport();

    public String translate(String word) {
        String html=support.requestHtmlWithWordTranslation(word);
        return support.parseAndGetWordTranslation(html);
    }
}
